# near model CODE resource # jump table entries: 0-1 (2 of them) fn00000000: 00000000 4E56 FEF8 link A6, -0x0108 00000004 48E7 0118 movem.l -[A7], D7,A3,A4 00000008 49EE FF00 lea.l A4, [A6 - 0x100] 0000000C 486D FEC6 pea.l [A5 - 0x13A] 00000010 A86E syscall InitGraf 00000012 A8FE syscall InitFonts 00000014 A912 syscall InitWindows 00000016 A930 syscall InitMenus 00000018 A9CC syscall TEInit 0000001A 7000 moveq.l D0, 0x00 0000001C 2F00 move.l -[A7], D0 0000001E A97B syscall InitDialogs 00000020 A850 syscall InitCursor 00000022 486D FE5A pea.l [A5 - 0x1A6] 00000026 A851 syscall SetCursor 00000028 598F subq.l A7, 4 0000002A 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */ 00000030 3F3C 6AAD move.w -[A7], 0x6AAD 00000034 A9A0 syscall GetResource 00000036 265F movea.l A3, [A7]+ 00000038 200B move.l D0, A3 0000003A 6714 beq +0x16 /* 00000050 */ 0000003C 598F subq.l A7, 4 0000003E 2F3C 4449 544C move.l -[A7], 0x4449544C /* 'DITL' */ 00000044 2053 movea.l A0, [A3] 00000046 3F28 0008 move.w -[A7], [A0 + 0x8] 0000004A A9A0 syscall GetResource 0000004C 2D5F FEFC move.l [A6 - 0x104], [A7]+ label00000050: 00000050 558F subq.l A7, 2 00000052 2F3C 7379 7361 move.l -[A7], 0x73797361 /* 'sysa' */ 00000058 486E FEF8 pea.l [A6 - 0x108] 0000005C 4EBA 082C jsr [PC + 0x82C /* 0000088A */] 00000060 3E1F move.w D7, [A7]+ 00000062 6608 bne +0xA /* 0000006C */ 00000064 7001 moveq.l D0, 0x01 00000066 B0AE FEF8 cmp.l D0, [A6 - 0x108] 0000006A 6610 bne +0x12 /* 0000007C */ label0000006C: 0000006C 2F0C move.l -[A7], A4 0000006E 3F3C 6AAD move.w -[A7], 0x6AAD 00000072 7001 moveq.l D0, 0x01 00000074 3F00 move.w -[A7], D0 00000076 4EBA 07CC jsr [PC + 0x7CC /* 00000844 */] 0000007A 600E bra +0x10 /* 0000008A */ label0000007C: 0000007C 2F0C move.l -[A7], A4 0000007E 3F3C 6AAD move.w -[A7], 0x6AAD 00000082 7002 moveq.l D0, 0x02 00000084 3F00 move.w -[A7], D0 00000086 4EBA 07BC jsr [PC + 0x7BC /* 00000844 */] label0000008A: 0000008A 200B move.l D0, A3 0000008C 672E beq +0x30 /* 000000BC */ 0000008E 4AAE FEFC tst.l [A6 - 0x104] 00000092 6728 beq +0x2A /* 000000BC */ 00000094 7000 moveq.l D0, 0x00 00000096 1014 move.b D0, [A4] 00000098 4A80 tst.l D0 0000009A 6720 beq +0x22 /* 000000BC */ 0000009C 2F0C move.l -[A7], A4 0000009E 486D FDF6 pea.l [A5 - 0x20A] 000000A2 486D FDF8 pea.l [A5 - 0x208] 000000A6 486D FDFA pea.l [A5 - 0x206] 000000AA A98B syscall ParamText 000000AC 558F subq.l A7, 2 000000AE 3F3C 6AAD move.w -[A7], 0x6AAD 000000B2 7000 moveq.l D0, 0x00 000000B4 2F00 move.l -[A7], D0 000000B6 A985 syscall Alert 000000B8 3E1F move.w D7, [A7]+ 000000BA 6006 bra +0x8 /* 000000C2 */ label000000BC: 000000BC 7002 moveq.l D0, 0x02 000000BE 3F00 move.w -[A7], D0 000000C0 A9C8 syscall SysBeep label000000C2: 000000C2 4CEE 1880 FEEC movem.l D7,A3,A4, [A6 - 0x114] 000000C8 4E5E unlink A6 000000CA 4E75 rts 000000CC 846D 6169 or.w D2, [A5 + 0x6169] 000000D0 6E00 0000 bgt +0x2 /* 000000D2 */ // begin alternate branch 000000D2-000000E8 label000000D2: 000000D2 0000 222F ori.b D0, 0x2F /* '/' */ 000000D6 0004 202F ori.b D4, 0x2F /* '/' */ 000000DA 0008 41FA ori.b A0, 0xFA fn000000DC: // (misaligned) 000000DE 000A 327C ori.b A2, 0x7C /* '|' */ 000000E2 0002 4EF0 ori.b D2, 0xF0 000000E6 92FE sub.w A1, <> // end alternate branch 000000D2-000000E8 label000000D2: // (misaligned) 000000D4 222F 0004 move.l D1, [A7 + 0x4] 000000D8 202F 0008 move.l D0, [A7 + 0x8] fn000000DC: 000000DC 41FA 000A lea.l A0, [PC + 0xA /* 000000E8, value 0x60064C41 */] 000000E0 327C 0002 movea.w A1, 0x2 000000E4 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2] 000000E8 6006 bra +0x8 /* 000000F0 */ 000000EA 4C41 0801 movem.l D0,A3, D1 000000EE 4E75 rts label000000F0: 000000F0 4EBA 0024 jsr [PC + 0x24 /* 00000116 */] 000000F4 2001 move.l D0, D1 000000F6 4E75 rts 000000F8 222F 0004 move.l D1, [A7 + 0x4] 000000FC 202F 0008 move.l D0, [A7 + 0x8] 00000100 41FA 000A lea.l A0, [PC + 0xA /* 0000010C, value 0x60084C41 */] 00000104 327C 0002 movea.w A1, 0x2 00000108 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2] 0000010C 6008 bra +0xA /* 00000116 */ 0000010E 4C41 0801 movem.l D0,A3, D1 00000112 C340 exg D1, D0 00000114 4E75 rts fn00000116: 00000116 4A80 tst.l D0 00000118 6B14 bmi +0x16 /* 0000012E */ 0000011A 4A81 tst.l D1 0000011C 6B06 bmi +0x8 /* 00000124 */ 0000011E 4EBA 0046 jsr [PC + 0x46 /* 00000166 */] 00000122 4E75 rts label00000124: 00000124 4481 neg.l D1 00000126 4EBA 003E jsr [PC + 0x3E /* 00000166 */] 0000012A 4481 neg.l D1 0000012C 4E75 rts label0000012E: 0000012E 4480 neg.l D0 00000130 4A81 tst.l D1 00000132 6B0A bmi +0xC /* 0000013E */ 00000134 4EBA 0030 jsr [PC + 0x30 /* 00000166 */] 00000138 4480 neg.l D0 0000013A 4481 neg.l D1 0000013C 4E75 rts label0000013E: 0000013E 4481 neg.l D1 00000140 4EBA 0024 jsr [PC + 0x24 /* 00000166 */] 00000144 4480 neg.l D0 00000146 4E75 rts 00000148 222F 0004 move.l D1, [A7 + 0x4] 0000014C 202F 0008 move.l D0, [A7 + 0x8] 00000150 41FA 000A lea.l A0, [PC + 0xA /* 0000015C, value 0x60084C41 */] 00000154 327C 0002 movea.w A1, 0x2 00000158 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2] 0000015C 6008 bra +0xA /* 00000166 */ 0000015E 4C41 0001 movem.l D0, D1 00000162 C340 exg D1, D0 00000164 4E75 rts fn00000166: 00000166 3F01 move.w -[A7], D1 00000168 4841 swap.w D1 0000016A 4A41 tst.w D1 0000016C 661C bne +0x1E /* 0000018A */ 0000016E 2200 move.l D1, D0 00000170 4241 clr.w D1 00000172 4841 swap.w D1 00000174 670A beq +0xC /* 00000180 */ 00000176 82D7 divu.w D1, [A7] 00000178 4841 swap.w D1 0000017A 4840 swap.w D0 0000017C 3001 move.w D0, D1 0000017E 4840 swap.w D0 label00000180: 00000180 80DF divu.w D0, [A7]+ 00000182 3200 move.w D1, D0 00000184 4240 clr.w D0 00000186 4840 swap.w D0 00000188 4E75 rts label0000018A: 0000018A 4841 swap.w D1 0000018C 3E82 move.w [A7], D2 0000018E 2F03 move.l -[A7], D3 00000190 3400 move.w D2, D0 00000192 2601 move.l D3, D1 00000194 7201 moveq.l D1, 0x01 00000196 4240 clr.w D0 00000198 4840 swap.w D0 0000019A 660C bne +0xE /* 000001A8 */ 0000019C 4840 swap.w D0 0000019E 3002 move.w D0, D2 000001A0 7200 moveq.l D1, 0x00 000001A2 6016 bra +0x18 /* 000001BA */ label000001A4: 000001A4 D241 add.w D1, D1 000001A6 6512 bcs +0x14 /* 000001BA */ label000001A8: 000001A8 D442 add.w D2, D2 000001AA D180 addx.l D0, D0 000001AC B083 cmp.l D0, D3 000001AE 65F4 bcs -0xA /* 000001A4 */ 000001B0 9083 sub.l D0, D3 000001B2 D241 add.w D1, D1 000001B4 08C1 0000 bset.b D1, 0x0 000001B8 64EE bcc -0x10 /* 000001A8 */ label000001BA: 000001BA 261F move.l D3, [A7]+ 000001BC 341F move.w D2, [A7]+ 000001BE 4E75 rts fn000001C0: 000001C0 225F movea.l A1, [A7]+ 000001C2 2057 movea.l A0, [A7] 000001C4 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7 000001C8 7000 moveq.l D0, 0x00 000001CA 4ED1 jmp [A1] fn000001CC: 000001CC 202F 0008 move.l D0, [A7 + 0x8] 000001D0 6602 bne +0x4 /* 000001D4 */ 000001D2 7001 moveq.l D0, 0x01 label000001D4: 000001D4 206F 0004 movea.l A0, [A7 + 0x4] 000001D8 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0] 000001DC 4ED1 jmp [A1] fn000001DE: 000001DE 4E56 FFFC link A6, -0x0004 000001E2 48E7 0318 movem.l -[A7], D6,D7,A3,A4 000001E6 4A6D FECC tst.w [A5 - 0x134] 000001EA 6600 00BC bne +0xBE /* 000002A8 */ 000001EE 598F subq.l A7, 4 000001F0 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 000001F6 487A 00C8 pea.l [PC + 0xC8 /* 000002C0, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */] 000001FA A820 syscall Get1NamedResource 000001FC 285F movea.l A4, [A7]+ 000001FE 200C move.l D0, A4 00000200 6700 00A6 beq +0xA8 /* 000002A8 */ 00000204 558F subq.l A7, 2 00000206 A994 syscall CurResFile 00000208 558F subq.l A7, 2 0000020A 2F0C move.l -[A7], A4 0000020C A9A4 syscall HomeResFile 0000020E 301F move.w D0, [A7]+ 00000210 B05F cmp.w D0, [A7]+ 00000212 6600 0094 bne +0x96 /* 000002A8 */ 00000216 41ED 002A lea.l A0, [A5 + 0x2A /* export_1 */] 0000021A 226D FEE8 movea.l A1, [A5 - 0x118] 0000021E 2348 000C move.l [A1 + 0xC], A0 00000222 2654 movea.l A3, [A4] 00000224 3013 move.w D0, [A3] 00000226 0800 0000 btst.b D0, 0x0 0000022A 6708 beq +0xA /* 00000234 */ 0000022C 3B7C 0028 FECA move.w [A5 - 0x136], 0x28 /* '(' */ 00000232 6006 bra +0x8 /* 0000023A */ label00000234: 00000234 3B7C 0004 FECA move.w [A5 - 0x136], 0x4 label0000023A: 0000023A 598F subq.l A7, 4 0000023C 2F0C move.l -[A7], A4 0000023E 4EBA 05F6 jsr [PC + 0x5F6 /* 00000836 */] 00000242 302D FECA move.w D0, [A5 - 0x136] 00000246 48C0 ext.l D0 00000248 221F move.l D1, [A7]+ 0000024A 9280 sub.l D1, D0 0000024C 2001 move.l D0, D1 0000024E 7204 moveq.l D1, 0x04 00000250 4EBA FE8A jsr [PC - 0x176 /* 000000DC */] 00000254 2C00 move.l D6, D0 00000256 7000 moveq.l D0, 0x00 00000258 2640 movea.l A3, D0 0000025A 6036 bra +0x38 /* 00000292 */ label0000025C: 0000025C 2F0C move.l -[A7], A4 0000025E A9A2 syscall LoadResource 00000260 302D FECA move.w D0, [A5 - 0x136] 00000264 48C0 ext.l D0 00000266 D094 add.l D0, [A4] 00000268 2D40 FFFC move.l [A6 - 0x4], D0 0000026C 302D FECC move.w D0, [A5 - 0x134] 00000270 48C0 ext.l D0 00000272 206E FFFC movea.l A0, [A6 - 0x4] 00000276 E580 asl D0, 2 00000278 3030 0800 move.w D0, [A0 + D0] 0000027C 48C0 ext.l D0 0000027E 2E00 move.l D7, D0 00000280 6708 beq +0xA /* 0000028A */ 00000282 200D move.l D0, A5 00000284 2640 movea.l A3, D0 00000286 D7C7 add.l A3, D7 00000288 4E93 jsr [A3] label0000028A: 0000028A 302D FECC move.w D0, [A5 - 0x134] 0000028E 526D FECC addq.w [A5 - 0x134], 1 label00000292: 00000292 302D FECC move.w D0, [A5 - 0x134] 00000296 48C0 ext.l D0 00000298 BC80 cmp.l D6, D0 0000029A 6EC0 bgt -0x3E /* 0000025C */ 0000029C 200B move.l D0, A3 0000029E 6704 beq +0x6 /* 000002A4 */ 000002A0 2F0B move.l -[A7], A3 000002A2 A9F1 syscall UnloadSeg label000002A4: 000002A4 2F0C move.l -[A7], A4 000002A6 A9A3 syscall ReleaseResource label000002A8: 000002A8 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14] 000002AE 4E5E unlink A6 000002B0 4E75 rts 000002B2 8B5F or.w [A7]+, D5 000002B4 5F43 subq.w D3, 7 000002B6 706C moveq.l D0, 0x6C 000002B8 7573 moveq.l D2, 0x73 000002BA 496E 6974 chk.w D4, [A6 + 0x6974] 000002BE 002A 2825 5F53 ori.b [A2 + 0x5F53], 0x25 /* '%' */ 000002C4 7461 moveq.l D2, 0x61 000002C6 7469 moveq.l D2, 0x69 000002C8 635F bls +0x61 /* 00000329 */ 000002CA 436F 6E73 chk.w D1, [A7 + 0x6E73] 000002CE 7472 moveq.l D2, 0x72 000002D0 7563 moveq.l D2, 0x63 000002D2 746F moveq.l D2, 0x6F 000002D4 725F moveq.l D1, 0x5F 000002D6 4465 neg.w -[A5] 000002D8 7374 moveq.l D1, 0x74 000002DA 7275 moveq.l D1, 0x75 000002DC 6374 bls +0x76 /* 00000352 */ 000002DE 6F72 ble +0x74 /* 00000352 */ 000002E0 5F50 subq.w [A0], 7 000002E2 6F69 ble +0x6B /* 0000034D */ 000002E4 6E74 bgt +0x76 /* 0000035A */ 000002E6 6572 bcs +0x74 /* 0000035A */ 000002E8 7300 moveq.l D1, 0x00 export_1: 000002EA 4E56 FFFC link A6, -0x0004 000002EE 48E7 0118 movem.l -[A7], D7,A3,A4 000002F2 4A6D FECC tst.w [A5 - 0x134] 000002F6 6764 beq +0x66 /* 0000035C */ 000002F8 598F subq.l A7, 4 000002FA 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */ 00000300 487A 0070 pea.l [PC + 0x70 /* 00000372, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */] 00000304 A9A1 syscall GetNamedResource 00000306 285F movea.l A4, [A7]+ 00000308 200C move.l D0, A4 0000030A 6750 beq +0x52 /* 0000035C */ 0000030C 558F subq.l A7, 2 0000030E A994 syscall CurResFile 00000310 558F subq.l A7, 2 00000312 2F0C move.l -[A7], A4 00000314 A9A4 syscall HomeResFile 00000316 301F move.w D0, [A7]+ 00000318 B05F cmp.w D0, [A7]+ 0000031A 6640 bne +0x42 /* 0000035C */ 0000031C 6034 bra +0x36 /* 00000352 */ label0000031E: 0000031E 2F0C move.l -[A7], A4 00000320 A9A2 syscall LoadResource 00000322 302D FECA move.w D0, [A5 - 0x136] 00000326 48C0 ext.l D0 00000328 D094 add.l D0, [A4] 0000032A 2D40 FFFC move.l [A6 - 0x4], D0 0000032E 536D FECC subq.w [A5 - 0x134], 1 00000332 302D FECC move.w D0, [A5 - 0x134] 00000336 48C0 ext.l D0 00000338 206E FFFC movea.l A0, [A6 - 0x4] 0000033C E580 asl D0, 2 0000033E 3030 0802 move.w D0, [A0 + D0 + 0x2] 00000342 48C0 ext.l D0 00000344 2E00 move.l D7, D0 00000346 200D move.l D0, A5 00000348 2640 movea.l A3, D0 0000034A D7C7 add.l A3, D7 0000034C 4A87 tst.l D7 0000034E 6702 beq +0x4 /* 00000352 */ 00000350 4E93 jsr [A3] label00000352: 00000352 4A6D FECC tst.w [A5 - 0x134] 00000356 6EC6 bgt -0x38 /* 0000031E */ 00000358 2F0C move.l -[A7], A4 label0000035A: 0000035A A9A3 syscall ReleaseResource label0000035C: 0000035C 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10] 00000362 4E5E unlink A6 00000364 4E75 rts 00000366 8964 or.w -[A4], D4 00000368 746F moveq.l D2, 0x6F 0000036A 7273 moveq.l D1, 0x73 0000036C 5F5F subq.w [A7]+, 7 0000036E 4676 002A not.w [A6 + D0.w + 0x2A] 00000372 2825 move.l D4, -[A5] 00000374 5F53 subq.w [A3], 7 00000376 7461 moveq.l D2, 0x61 00000378 7469 moveq.l D2, 0x69 0000037A 635F bls +0x61 /* 000003DB */ 0000037C 436F 6E73 chk.w D1, [A7 + 0x6E73] 00000380 7472 moveq.l D2, 0x72 00000382 7563 moveq.l D2, 0x63 00000384 746F moveq.l D2, 0x6F 00000386 725F moveq.l D1, 0x5F 00000388 4465 neg.w -[A5] 0000038A 7374 moveq.l D1, 0x74 0000038C 7275 moveq.l D1, 0x75 0000038E 6374 bls +0x76 /* 00000404 */ 00000390 6F72 ble +0x74 /* 00000404 */ 00000392 5F50 subq.w [A0], 7 00000394 6F69 ble +0x6B /* 000003FF */ 00000396 6E74 bgt +0x76 /* 0000040C */ 00000398 6572 bcs +0x74 /* 0000040C */ 0000039A 7300 moveq.l D1, 0x00 fn0000039C: 0000039C 4E56 0000 link A6, 0 000003A0 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4 000003A4 2E2E 0018 move.l D7, [A6 + 0x18] 000003A8 266E 000C movea.l A3, [A6 + 0xC] 000003AC 4EBA 02DA jsr [PC + 0x2DA /* 00000688 */] 000003B0 4A80 tst.l D0 000003B2 6706 beq +0x8 /* 000003BA */ 000003B4 70FF moveq.l D0, 0xFFFFFFFF 000003B6 6000 01C8 bra +0x1CA /* 00000580 */ label000003BA: 000003BA 206D FEE8 movea.l A0, [A5 - 0x118] 000003BE 20AE 0008 move.l [A0], [A6 + 0x8] 000003C2 7601 moveq.l D3, 0x01 000003C4 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */] 000003C8 672C beq +0x2E /* 000003F6 */ 000003CA 7001 moveq.l D0, 0x01 000003CC C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */] 000003D0 6624 bne +0x26 /* 000003F6 */ 000003D2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000003D6 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */ 000003DC 6618 bne +0x1A /* 000003F6 */ 000003DE 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000003E2 4AA8 0004 tst.l [A0 + 0x4] 000003E6 670E beq +0x10 /* 000003F6 */ 000003E8 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000003EC 2068 0004 movea.l A0, [A0 + 0x4] 000003F0 4A50 tst.w [A0] 000003F2 6702 beq +0x4 /* 000003F6 */ 000003F4 7600 moveq.l D3, 0x00 label000003F6: 000003F6 4883 ext.w D3 000003F8 48C3 ext.l D3 000003FA 2B43 FECE move.l [A5 - 0x132], D3 000003FE 6760 beq +0x62 /* 00000460 */ 00000400 41ED FFA2 lea.l A0, [A5 - 0x5E] label00000404: 00000404 43F8 0910 lea.l A1, [0x00000910 /* CurApName */] 00000408 7007 moveq.l D0, 0x07 label0000040A: 0000040A 20D9 move.l [A0]+, [A1]+ label0000040C: 0000040C 51C8 FFFC dbf D0, -0x6 /* 0000040A */ 00000410 30D9 move.w [A0]+, [A1]+ 00000412 41ED FFA2 lea.l A0, [A5 - 0x5E] 00000416 226D FED8 movea.l A1, [A5 - 0x128] 0000041A 2288 move.l [A1], A0 0000041C 4A87 tst.l D7 0000041E 660E bne +0x10 /* 0000042E */ 00000420 598F subq.l A7, 4 00000422 206D FED8 movea.l A0, [A5 - 0x128] 00000426 2F10 move.l -[A7], [A0] 00000428 4EBA 06A4 jsr [PC + 0x6A4 /* 00000ACE */] 0000042C 584F addq.w A7, 4 label0000042E: 0000042E 200B move.l D0, A3 00000430 6704 beq +0x6 /* 00000436 */ 00000432 7001 moveq.l D0, 0x01 00000434 2680 move.l [A3], D0 label00000436: 00000436 4AAE 0010 tst.l [A6 + 0x10] 0000043A 6708 beq +0xA /* 00000444 */ 0000043C 206E 0010 movea.l A0, [A6 + 0x10] 00000440 20AD FED8 move.l [A0], [A5 - 0x128] label00000444: 00000444 4AAE 0014 tst.l [A6 + 0x14] 00000448 6708 beq +0xA /* 00000452 */ 0000044A 206E 0014 movea.l A0, [A6 + 0x14] 0000044E 20AD FEDC move.l [A0], [A5 - 0x124] label00000452: 00000452 4EBA FD8A jsr [PC - 0x276 /* 000001DE */] 00000456 7001 moveq.l D0, 0x01 00000458 2B40 FECE move.l [A5 - 0x132], D0 0000045C 6000 0122 bra +0x124 /* 00000580 */ label00000460: 00000460 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000464 2068 0004 movea.l A0, [A0 + 0x4] 00000468 302D FED2 move.w D0, [A5 - 0x12E] 0000046C B050 cmp.w D0, [A0] 0000046E 670C beq +0xE /* 0000047C */ 00000470 2F3C 8000 0000 move.l -[A7], 0x80000000 00000476 4EBA 013C jsr [PC + 0x13C /* 000005B4 */] 0000047A 584F addq.w A7, 4 label0000047C: 0000047C 41ED FED2 lea.l A0, [A5 - 0x12E] 00000480 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */] 00000484 2269 0004 movea.l A1, [A1 + 0x4] 00000488 2348 0024 move.l [A1 + 0x24], A0 0000048C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000490 2B68 0004 FEF6 move.l [A5 - 0x10A], [A0 + 0x4] 00000496 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 0000049A 2068 0004 movea.l A0, [A0 + 0x4] 0000049E 2B68 0002 FED4 move.l [A5 - 0x12C], [A0 + 0x2] 000004A4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000004A8 2068 0004 movea.l A0, [A0 + 0x4] 000004AC 2B68 0006 FED8 move.l [A5 - 0x128], [A0 + 0x6] 000004B2 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 000004B6 2068 0004 movea.l A0, [A0 + 0x4] 000004BA 2B68 000A FEDC move.l [A5 - 0x124], [A0 + 0xA] 000004C0 4A87 tst.l D7 000004C2 672C beq +0x2E /* 000004F0 */ 000004C4 286D FED8 movea.l A4, [A5 - 0x128] 000004C8 600C bra +0xE /* 000004D6 */ label000004CA: 000004CA 598F subq.l A7, 4 000004CC 2F14 move.l -[A7], [A4] 000004CE 4EBA 05C8 jsr [PC + 0x5C8 /* 00000A98 */] 000004D2 584F addq.w A7, 4 000004D4 584C addq.w A4, 4 label000004D6: 000004D6 4A94 tst.l [A4] 000004D8 66F0 bne -0xE /* 000004CA */ 000004DA 286D FEDC movea.l A4, [A5 - 0x124] 000004DE 600C bra +0xE /* 000004EC */ label000004E0: 000004E0 598F subq.l A7, 4 000004E2 2F14 move.l -[A7], [A4] 000004E4 4EBA 05B2 jsr [PC + 0x5B2 /* 00000A98 */] 000004E8 584F addq.w A7, 4 000004EA 584C addq.w A4, 4 label000004EC: 000004EC 4A94 tst.l [A4] 000004EE 66F0 bne -0xE /* 000004E0 */ label000004F0: 000004F0 200B move.l D0, A3 000004F2 6704 beq +0x6 /* 000004F8 */ 000004F4 26AD FED4 move.l [A3], [A5 - 0x12C] label000004F8: 000004F8 4AAE 0010 tst.l [A6 + 0x10] 000004FC 6708 beq +0xA /* 00000506 */ 000004FE 206E 0010 movea.l A0, [A6 + 0x10] 00000502 20AD FED8 move.l [A0], [A5 - 0x128] label00000506: 00000506 4AAE 0014 tst.l [A6 + 0x14] 0000050A 6708 beq +0xA /* 00000514 */ 0000050C 206E 0014 movea.l A0, [A6 + 0x14] 00000510 20AD FEDC move.l [A0], [A5 - 0x124] label00000514: 00000514 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 00000518 2068 0004 movea.l A0, [A0 + 0x4] 0000051C 4AA8 0020 tst.l [A0 + 0x20] 00000520 6754 beq +0x56 /* 00000576 */ 00000522 7078 moveq.l D0, 0x78 00000524 A11E syscall NewPtr, flags=1 00000526 2B48 FEF2 move.l [A5 - 0x10E], A0 0000052A 660A bne +0xC /* 00000536 */ 0000052C 7002 moveq.l D0, 0x02 0000052E 2F00 move.l -[A7], D0 00000530 4EBA 0082 jsr [PC + 0x82 /* 000005B4 */] 00000534 584F addq.w A7, 4 label00000536: 00000536 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */] 0000053A 2068 0004 movea.l A0, [A0 + 0x4] 0000053E 2668 0020 movea.l A3, [A0 + 0x20] 00000542 7E00 moveq.l D7, 0x00 00000544 7605 moveq.l D3, 0x05 label00000546: 00000546 2207 move.l D1, D7 00000548 2001 move.l D0, D1 0000054A C2FC 0018 mulu.w D1, 0x18 0000054E 4840 swap.w D0 00000550 C0FC 0018 mulu.w D0, 0x18 00000554 4840 swap.w D0 00000556 4240 clr.w D0 00000558 D280 add.l D1, D0 0000055A 2C01 move.l D6, D1 0000055C 206D FEF2 movea.l A0, [A5 - 0x10E] 00000560 43F3 6800 lea.l A1, [A3 + D6] 00000564 45F0 6800 lea.l A2, [A0 + D6] 00000568 7005 moveq.l D0, 0x05 label0000056A: 0000056A 24D9 move.l [A2]+, [A1]+ 0000056C 51C8 FFFC dbf D0, -0x6 /* 0000056A */ 00000570 5287 addq.l D7, 1 00000572 B687 cmp.l D3, D7 00000574 6ED0 bgt -0x2E /* 00000546 */ label00000576: 00000576 4EBA FC66 jsr [PC - 0x39A /* 000001DE */] 0000057A 7000 moveq.l D0, 0x00 0000057C 2B40 FECE move.l [A5 - 0x132], D0 label00000580: 00000580 4CEE 1CC8 FFE8 movem.l D3,D6,D7,A2,A3,A4, [A6 - 0x18] 00000586 4E5E unlink A6 00000588 4E75 rts 0000058A 875F or.w [A7]+, D3 0000058C 5254 addq.w [A4], 1 0000058E 496E 6974 chk.w D4, [A6 + 0x6974] 00000592 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000594-0000059E fn00000594: 00000594 4E56 0000 link A6, 0 00000598 203C 00FF FFFF move.l D0, 0xFFFFFF // end alternate branch 00000594-0000059E fn00000594: // (misaligned) 00000596 0000 203C ori.b D0, 0x3C /* '<' */ 0000059A 00FF .incomplete 0000059C FFFF .invalid <> 0000059E C0AE 0008 and.l D0, [A6 + 0x8] 000005A2 2F00 move.l -[A7], D0 000005A4 4EBA 000E jsr [PC + 0xE /* 000005B4 */] 000005A8 4E5E unlink A6 000005AA 4E75 rts 000005AC 8465 or.w D2, -[A5] 000005AE 7869 moveq.l D4, 0x69 000005B0 7400 moveq.l D2, 0x00 000005B2 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 000005B4-000005BA fn000005B4: 000005B4 4E56 0000 link A6, 0 000005B8 2F0C move.l -[A7], A4 // end alternate branch 000005B4-000005BA fn000005B4: // (misaligned) 000005B6 0000 2F0C ori.b D0, 0xC 000005BA 206D FEE8 movea.l A0, [A5 - 0x118] 000005BE 49E8 008C lea.l A4, [A0 + 0x8C] 000005C2 600A bra +0xC /* 000005CE */ label000005C4: 000005C4 4A94 tst.l [A4] 000005C6 6704 beq +0x6 /* 000005CC */ 000005C8 2054 movea.l A0, [A4] 000005CA 4E90 jsr [A0] label000005CC: 000005CC 594C subq.w A4, 4 label000005CE: 000005CE 206D FEE8 movea.l A0, [A5 - 0x118] 000005D2 B1CC cmpa.l A0, A4 000005D4 65EE bcs -0x10 /* 000005C4 */ 000005D6 4AAD FEF6 tst.l [A5 - 0x10A] 000005DA 670A beq +0xC /* 000005E6 */ 000005DC 206D FEF6 movea.l A0, [A5 - 0x10A] 000005E0 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8] label000005E6: 000005E6 4AAD FFDC tst.l [A5 - 0x24] 000005EA 660A bne +0xC /* 000005F6 */ 000005EC 206D FEE8 movea.l A0, [A5 - 0x118] 000005F0 2250 movea.l A1, [A0] 000005F2 4E91 jsr [A1] 000005F4 600E bra +0x10 /* 00000604 */ label000005F6: 000005F6 7001 moveq.l D0, 0x01 000005F8 2F00 move.l -[A7], D0 000005FA 486D FFC4 pea.l [A5 - 0x3C] 000005FE 4EBA FBCC jsr [PC - 0x434 /* 000001CC */] 00000602 504F addq.w A7, 8 label00000604: 00000604 286E FFFC movea.l A4, [A6 - 0x4] 00000608 4E5E unlink A6 0000060A 4E75 rts 0000060C 875F or.w [A7]+, D3 0000060E 5254 addq.w [A4], 1 00000610 4578 6974 chk.w D2, [0x00006974] 00000614 0000 2057 ori.b D0, 0x57 /* 'W' */ export_0: // at 00000616 (misaligned) 00000618 42A7 clr.l -[A7] 0000061A 486D FFFC pea.l [A5 - 0x4] 0000061E 486D FFF8 pea.l [A5 - 0x8] 00000622 486D FFF4 pea.l [A5 - 0xC] 00000626 2F08 move.l -[A7], A0 00000628 4EBA FD72 jsr [PC - 0x28E /* 0000039C */] 0000062C 72FF moveq.l D1, 0xFFFFFFFF 0000062E B041 cmp.w D0, D1 00000630 672E beq +0x30 /* 00000660 */ 00000632 588F addq.l A7, 4 00000634 4FEF 0010 lea.l A7, [A7 + 0x10] 00000638 486D FFC4 pea.l [A5 - 0x3C] 0000063C 4EBA FB82 jsr [PC - 0x47E /* 000001C0 */] 00000640 584F addq.w A7, 4 00000642 4A80 tst.l D0 00000644 6624 bne +0x26 /* 0000066A */ 00000646 2F2D FFFC move.l -[A7], [A5 - 0x4] 0000064A 2F2D FFF8 move.l -[A7], [A5 - 0x8] 0000064E 2F2D FFF4 move.l -[A7], [A5 - 0xC] 00000652 4EBA F9AC jsr [PC - 0x654 /* 00000000 */] 00000656 4FEF 000C lea.l A7, [A7 + 0xC] 0000065A 2F00 move.l -[A7], D0 0000065C 4EBA FF36 jsr [PC - 0xCA /* 00000594 */] label00000660: 00000660 487A 000A pea.l [PC + 0xA /* 0000066C, value 0x1B446174, pstring "Data initialization failed!" */] 00000664 303C FE15 move.w D0, 0xFE15 00000668 A9C9 syscall SysError label0000066A: 0000066A 4E75 rts 0000066C 1B44 6174 move.b [A5 + 0x6174], D4 00000670 6120 bsr +0x22 /* 00000692 */ 00000672 696E bvs +0x70 /* 000006E2 */ 00000674 6974 bvs +0x76 /* 000006EA */ 00000676 6961 bvs +0x63 /* 000006D9 */ 00000678 6C69 bge +0x6B /* 000006E3 */ 0000067A 7A61 moveq.l D5, 0x61 0000067C 7469 moveq.l D2, 0x69 0000067E 6F6E ble +0x70 /* 000006EE */ 00000680 2066 movea.l A0, -[A6] 00000682 6169 bsr +0x6B /* 000006ED */ 00000684 6C65 bge +0x67 /* 000006EB */ 00000686 6421 bcc +0x23 /* 000006A9 */ fn00000688: 00000688 48E7 7FF8 movem.l -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4 0000068C 49FA 045C lea.l A4, [PC + 0x45C /* 00000AEA, value 0x20A, cstring "" */] 00000690 302C 0004 move.w D0, [A4 + 0x4] // begin alternate branch 00000692-00000696 fn00000692: 00000692 0004 5340 ori.b D4, 0x40 /* '@' */ // end alternate branch 00000692-00000696 fn00000692: // (misaligned) 00000694 5340 subq.w D0, 1 00000696 6704 beq +0x6 /* 0000069C */ 00000698 70FF moveq.l D0, 0xFFFFFFFF 0000069A 6032 bra +0x34 /* 000006CE */ label0000069C: 0000069C 264D movea.l A3, A5 0000069E 97D4 sub.l A3, [A4] 000006A0 2F0B move.l -[A7], A3 000006A2 2F14 move.l -[A7], [A4] 000006A4 6100 014C bsr +0x14E /* 000007F2 */ 000006A8 202C 0008 move.l D0, [A4 + 0x8] 000006AC 4874 0800 pea.l [A4 + D0] 000006B0 2F0B move.l -[A7], A3 000006B2 6100 002E bsr +0x30 /* 000006E2 */ 000006B6 504F addq.w A7, 8 000006B8 202C 000C move.l D0, [A4 + 0xC] 000006BC 4874 0800 pea.l [A4 + D0] 000006C0 2F0B move.l -[A7], A3 000006C2 2F0D move.l -[A7], A5 000006C4 6100 00D0 bsr +0xD2 /* 00000796 */ 000006C8 4FEF 000C lea.l A7, [A7 + 0xC] 000006CC 7000 moveq.l D0, 0x00 label000006CE: 000006CE 4CDF 1FFE movem.l D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+ 000006D2 4E75 rts 000006D4 8009 or.b D0, A1 000006D6 5F44 subq.w D4, 7 000006D8 4154 chk.w D0, [A4] 000006DA 4149 chk.w D0, A1 000006DC 4E49 trap 9 000006DE 5400 addq.b D0, 2 000006E0 0000 226F ori.b D0, 0x6F /* 'o' */ // begin alternate branch 000006E2-000006EE fn000006E2: 000006E2 226F 0004 movea.l A1, [A7 + 0x4] 000006E6 206F 0008 movea.l A0, [A7 + 0x8] label000006EA: 000006EA 48E7 1800 movem.l -[A7], D3,D4 // end alternate branch 000006E2-000006EE fn000006E2: // (misaligned) 000006E4 0004 206F ori.b D4, 0x6F /* 'o' */ 000006E8 0008 48E7 ori.b A0, 0xE7 label000006EA: // (misaligned) 000006EC 1800 move.b D4, D0 label000006EE: 000006EE 7601 moveq.l D3, 0x01 000006F0 7200 moveq.l D1, 0x00 000006F2 1218 move.b D1, [A0]+ 000006F4 2401 move.l D2, D1 000006F6 0241 000F andi.w D1, 0xF 000006FA 660A bne +0xC /* 00000706 */ 000006FC 6100 0044 bsr +0x46 /* 00000742 */ 00000700 2200 move.l D1, D0 00000702 6724 beq +0x26 /* 00000728 */ 00000704 6002 bra +0x4 /* 00000708 */ label00000706: 00000706 D241 add.w D1, D1 label00000708: 00000708 0242 00F0 andi.w D2, 0xF0 0000070C 6608 bne +0xA /* 00000716 */ 0000070E 6100 0032 bsr +0x34 /* 00000742 */ 00000712 2400 move.l D2, D0 00000714 6002 bra +0x4 /* 00000718 */ label00000716: 00000716 E64A lsr D2.w, 3 label00000718: 00000718 D3C2 add.l A1, D2 0000071A 2801 move.l D4, D1 label0000071C: 0000071C 12D8 move.b [A1]+, [A0]+ 0000071E 5384 subq.l D4, 1 00000720 66FA bne -0x4 /* 0000071C */ 00000722 5383 subq.l D3, 1 00000724 66F2 bne -0xC /* 00000718 */ 00000726 60C6 bra -0x38 /* 000006EE */ label00000728: 00000728 4CDF 0018 movem.l D3,D4, [A7]+ 0000072C 4E75 rts 0000072E 8010 or.b D0, [A0] 00000730 756E moveq.l D2, 0x6E 00000732 636F bls +0x71 /* 000007A3 */ 00000734 6D70 blt +0x72 /* 000007A6 */ 00000736 7265 moveq.l D1, 0x65 00000738 7373 moveq.l D1, 0x73 0000073A 5F77 6F72 6C64 0000 7000 subq.w [[A7 + 0x6C640000] + 0x7000], 7 // begin alternate branch 00000742-00000744 fn00000742: 00000742 7000 moveq.l D0, 0x00 // end alternate branch 00000742-00000744 fn00000742: // (misaligned) 00000744 1018 move.b D0, [A0]+ 00000746 6A42 bpl +0x44 /* 0000078A */ 00000748 0800 0006 btst.b D0, 0x6 0000074C 6734 beq +0x36 /* 00000782 */ 0000074E 0800 0005 btst.b D0, 0x5 00000752 6720 beq +0x22 /* 00000774 */ 00000754 0800 0004 btst.b D0, 0x4 00000758 670A beq +0xC /* 00000764 */ 0000075A 61E6 bsr -0x18 /* 00000742 */ 0000075C 2600 move.l D3, D0 0000075E 61E2 bsr -0x1C /* 00000742 */ 00000760 C143 exg D0, D3 00000762 4E75 rts label00000764: 00000764 1018 move.b D0, [A0]+ 00000766 E180 asl D0, 8 00000768 1018 move.b D0, [A0]+ 0000076A E180 asl D0, 8 0000076C 1018 move.b D0, [A0]+ 0000076E E180 asl D0, 8 00000770 1018 move.b D0, [A0]+ 00000772 4E75 rts label00000774: 00000774 0200 001F andi.b D0, 0x1F 00000778 E180 asl D0, 8 0000077A 1018 move.b D0, [A0]+ 0000077C E180 asl D0, 8 0000077E 1018 move.b D0, [A0]+ 00000780 4E75 rts label00000782: 00000782 0200 003F andi.b D0, 0x3F /* '?' */ 00000786 E180 asl D0, 8 00000788 1018 move.b D0, [A0]+ label0000078A: 0000078A 4E75 rts 0000078C 8006 or.b D0, D6 0000078E 6765 beq +0x67 /* 000007F5 */ 00000790 745F moveq.l D2, 0x5F 00000792 726C moveq.l D1, 0x6C 00000794 0000 222F ori.b D0, 0x2F /* '/' */ // begin alternate branch 00000796-000007A4 fn00000796: 00000796 222F 0004 move.l D1, [A7 + 0x4] 0000079A 226F 0008 movea.l A1, [A7 + 0x8] 0000079E 206F 000C movea.l A0, [A7 + 0xC] label000007A2: 000007A2 7401 moveq.l D2, 0x01 // end alternate branch 00000796-000007A4 fn00000796: // (misaligned) 00000798 0004 226F ori.b D4, 0x6F /* 'o' */ 0000079C 0008 206F ori.b A0, 0x6F /* 'o' */ 000007A0 000C 7401 ori.b A4, 0x1 label000007A2: // (misaligned) 000007A4 7000 moveq.l D0, 0x00 label000007A6: 000007A6 1018 move.b D0, [A0]+ 000007A8 670C beq +0xE /* 000007B6 */ 000007AA 6A26 bpl +0x28 /* 000007D2 */ 000007AC 0880 0007 bclr.b D0, 0x7 000007B0 E188 lsl D0, 8 000007B2 1018 move.b D0, [A0]+ 000007B4 601C bra +0x1E /* 000007D2 */ label000007B6: 000007B6 1018 move.b D0, [A0]+ 000007B8 6724 beq +0x26 /* 000007DE */ 000007BA 6A0E bpl +0x10 /* 000007CA */ 000007BC E188 lsl D0, 8 000007BE 1018 move.b D0, [A0]+ 000007C0 E188 lsl D0, 8 000007C2 1018 move.b D0, [A0]+ 000007C4 E188 lsl D0, 8 000007C6 1018 move.b D0, [A0]+ 000007C8 6008 bra +0xA /* 000007D2 */ label000007CA: 000007CA 2400 move.l D2, D0 000007CC 6100 FF74 bsr -0x8A /* 00000742 */ 000007D0 C142 exg D0, D2 label000007D2: 000007D2 D080 add.l D0, D0 label000007D4: 000007D4 D3C0 add.l A1, D0 000007D6 D391 add.l [A1], D1 000007D8 5382 subq.l D2, 1 000007DA 66F8 bne -0x6 /* 000007D4 */ 000007DC 60C4 bra -0x3A /* 000007A2 */ label000007DE: 000007DE 4E75 rts 000007E0 800E or.b D0, A6 000007E2 7265 moveq.l D1, 0x65 000007E4 6C6F bge +0x71 /* 00000855 */ 000007E6 6361 bls +0x63 /* 00000849 */ 000007E8 7465 moveq.l D2, 0x65 000007EA 5F77 6F72 6C64 0000 7400 subq.w [[A7 + 0x6C640000] + 0x7400], 7 // begin alternate branch 000007F2-000007F4 fn000007F2: 000007F2 7400 moveq.l D2, 0x00 // end alternate branch 000007F2-000007F4 fn000007F2: // (misaligned) 000007F4 205F movea.l A0, [A7]+ 000007F6 201F move.l D0, [A7]+ 000007F8 225F movea.l A1, [A7]+ 000007FA 6728 beq +0x2A /* 00000824 */ label000007FC: 000007FC 3209 move.w D1, A1 000007FE 0241 0003 andi.w D1, 0x3 00000802 6708 beq +0xA /* 0000080C */ 00000804 12C2 move.b [A1]+, D2 00000806 5380 subq.l D0, 1 00000808 66F2 bne -0xC /* 000007FC */ 0000080A 6018 bra +0x1A /* 00000824 */ label0000080C: 0000080C 2200 move.l D1, D0 0000080E E489 lsr D1, 2 00000810 6706 beq +0x8 /* 00000818 */ label00000812: 00000812 22C2 move.l [A1]+, D2 00000814 5381 subq.l D1, 1 00000816 66FA bne -0x4 /* 00000812 */ label00000818: 00000818 0240 0003 andi.w D0, 0x3 0000081C 6002 bra +0x4 /* 00000820 */ label0000081E: 0000081E 12C2 move.b [A1]+, D2 label00000820: 00000820 51C8 FFFC dbf D0, -0x6 /* 0000081E */ label00000824: 00000824 4ED0 jmp [A0] 00000826 800A or.b D0, A2 00000828 5A45 addq.w D5, 5 0000082A 524F addq.w A7, 1 0000082C 4255 clr.w [A5] 0000082E 4646 not.w D6 00000830 4552 chk.w D2, [A2] 00000832 0000 0000 ori.b D0, 0x0 fn00000836: 00000836 225F movea.l A1, [A7]+ 00000838 205F movea.l A0, [A7]+ 0000083A A025 syscall GetHandleSize 0000083C 2E80 move.l [A7], D0 0000083E 6A02 bpl +0x4 /* 00000842 */ 00000840 4297 clr.l [A7] label00000842: 00000842 4ED1 jmp [A1] fn00000844: 00000844 4E56 0000 link A6, 0 00000848 594F subq.w A7, 4 0000084A 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */ 00000850 3F2E 000A move.w -[A7], [A6 + 0xA] 00000854 A9A0 syscall GetResource 00000856 226E 000C movea.l A1, [A6 + 0xC] 0000085A 4211 clr.b [A1] 0000085C 201F move.l D0, [A7]+ 0000085E 6722 beq +0x24 /* 00000882 */ 00000860 2040 movea.l A0, D0 00000862 2050 movea.l A0, [A0] 00000864 3018 move.w D0, [A0]+ 00000866 322E 0008 move.w D1, [A6 + 0x8] 0000086A 6716 beq +0x18 /* 00000882 */ 0000086C B240 cmp.w D1, D0 0000086E 6212 bhi +0x14 /* 00000882 */ 00000870 7000 moveq.l D0, 0x00 label00000872: 00000872 5341 subq.w D1, 1 00000874 6706 beq +0x8 /* 0000087C */ 00000876 1018 move.b D0, [A0]+ 00000878 D1C0 add.l A0, D0 0000087A 60F6 bra -0x8 /* 00000872 */ label0000087C: 0000087C 1010 move.b D0, [A0] 0000087E 5240 addq.w D0, 1 00000880 A02E syscall BlockMove/BlockMoveData label00000882: 00000882 4E5E unlink A6 00000884 205F movea.l A0, [A7]+ 00000886 508F addq.l A7, 8 00000888 4ED0 jmp [A0] fn0000088A: 0000088A 4E56 0000 link A6, 0 0000088E 203C 0000 A89F move.l D0, 0xA89F 00000894 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 00000896 2F08 move.l -[A7], A0 00000898 203C 0000 A0AD move.l D0, 0xA0AD 0000089E A346 syscall GetOSTrapAddress, flags=3 000008A0 B1DF cmpa.l A0, [A7]+ 000008A2 670E beq +0x10 /* 000008B2 */ 000008A4 202E 000C move.l D0, [A6 + 0xC] 000008A8 A1AD syscall Gestalt, flags=1 000008AA 226E 0008 movea.l A1, [A6 + 0x8] 000008AE 2288 move.l [A1], A0 000008B0 6026 bra +0x28 /* 000008D8 */ label000008B2: 000008B2 41FA 0036 lea.l A0, [PC + 0x36 /* 000008EA, value 0x76657273 'vers', cstring "vers" */] 000008B6 303C EA51 move.w D0, 0xEA51 000008BA 222E 000C move.l D1, [A6 + 0xC] label000008BE: 000008BE B298 cmp.l D1, [A0]+ 000008C0 6706 beq +0x8 /* 000008C8 */ 000008C2 4A98 tst.l [A0]+ 000008C4 6712 beq +0x14 /* 000008D8 */ 000008C6 60F6 bra -0x8 /* 000008BE */ label000008C8: 000008C8 43FA 0020 lea.l A1, [PC + 0x20 /* 000008EA, value 0x76657273 'vers', cstring "vers" */] 000008CC D3D0 add.l A1, [A0] 000008CE 4ED1 jmp [A1] label000008D0: 000008D0 226E 0008 movea.l A1, [A6 + 0x8] 000008D4 2280 move.l [A1], D0 000008D6 4240 clr.w D0 label000008D8: 000008D8 3D40 0010 move.w [A6 + 0x10], D0 000008DC 4E5E unlink A6 000008DE 205F movea.l A0, [A7]+ 000008E0 508F addq.l A7, 8 000008E2 4ED0 jmp [A0] label000008E4: 000008E4 303C EA52 move.w D0, 0xEA52 000008E8 60EE bra -0x10 /* 000008D8 */ 000008EA 7665 moveq.l D3, 0x65 000008EC 7273 moveq.l D1, 0x73 000008EE 0000 0060 ori.b D0, 0x60 /* '`' */ 000008F2 6D61 blt +0x63 /* 00000955 */ 000008F4 6368 bls +0x6A /* 0000095E */ 000008F6 0000 0064 ori.b D0, 0x64 /* 'd' */ 000008FA 7379 moveq.l D1, 0x79 000008FC 7376 moveq.l D1, 0x76 000008FE 0000 0088 ori.b D0, 0x88 00000902 7072 moveq.l D0, 0x72 00000904 6F63 ble +0x65 /* 00000969 */ 00000906 0000 0092 ori.b D0, 0x92 0000090A 6670 bne +0x72 /* 0000097C */ 0000090C 7520 moveq.l D2, 0x20 0000090E 0000 009E ori.b D0, 0x9E 00000912 7164 moveq.l D0, 0x64 00000914 2020 move.l D0, -[A0] 00000916 0000 00E8 ori.b D0, 0xE8 0000091A 6B62 bmi +0x64 /* 0000097E */ 0000091C 6420 bcc +0x22 /* 0000093E */ 0000091E 0000 011A ori.b D0, 0x1A 00000922 6174 bsr +0x76 /* 00000998 */ 00000924 6C6B bge +0x6D /* 00000991 */ 00000926 0000 0142 ori.b D0, 0x42 /* 'B' */ 0000092A 6D6D blt +0x6F /* 00000999 */ 0000092C 7520 moveq.l D2, 0x20 0000092E 0000 0164 ori.b D0, 0x64 /* 'd' */ 00000932 7261 moveq.l D1, 0x61 00000934 6D20 blt +0x22 /* 00000956 */ 00000936 0000 0188 ori.b D0, 0x88 0000093A 6C72 bge +0x74 /* 000009AE */ 0000093C 616D bsr +0x6F /* 000009AB */ label0000093E: 0000093E 0000 0188 ori.b D0, 0x88 00000942 0000 0000 ori.b D0, 0x0 00000946 0000 0000 ori.b D0, 0x0 0000094A 7001 moveq.l D0, 0x01 0000094C 6082 bra -0x7C /* 000008D0 */ 0000094E 2278 02AE movea.l A1, [0x000002AE /* ROMBase */] 00000952 7004 moveq.l D0, 0x04 00000954 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */ // begin alternate branch 00000956-0000095E label00000956: 00000956 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8 // end alternate branch 00000956-0000095E label00000956: // (misaligned) 0000095A 6712 beq +0x14 /* 0000096E */ 0000095C 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276 // begin alternate branch 0000095E-00000964 label0000095E: 0000095E 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8 // end alternate branch 0000095E-00000964 label0000095E: // (misaligned) 00000962 6604 bne +0x6 /* 00000968 */ 00000964 5240 addq.w D0, 1 00000966 6006 bra +0x8 /* 0000096E */ label00000968: 00000968 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */] 0000096C 5C80 addq.l D0, 6 label0000096E: 0000096E 6000 FF60 bra -0x9E /* 000008D0 */ 00000972 7000 moveq.l D0, 0x00 00000974 3038 015A move.w D0, [0x0000015A /* SysVersion */] 00000978 6000 FF56 bra -0xA8 /* 000008D0 */ label0000097C: 0000097C 7000 moveq.l D0, 0x00 label0000097E: 0000097E 1038 012F move.b D0, [0x0000012F /* CPUFlag */] 00000982 5240 addq.w D0, 1 00000984 6000 FF4A bra -0xB4 /* 000008D0 */ 00000988 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4 0000098E 6738 beq +0x3A /* 000009C8 */ 00000990 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4 00000996 6734 beq +0x36 /* 000009CC */ fn00000998: 00000998 204F movea.l A0, A7 0000099A F280 0000 fnop 0000099E F327 .extension 0x327 <> // unimplemented 000009A0 3017 move.w D0, [A7] 000009A2 2E48 movea.l A7, A0 000009A4 0C40 1F18 cmpi.w D0, 0x1F18 000009A8 6716 beq +0x18 /* 000009C0 */ 000009AA 0C40 3F18 cmpi.w D0, 0x3F18 label000009AE: 000009AE 6710 beq +0x12 /* 000009C0 */ 000009B0 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */ 000009B4 670E beq +0x10 /* 000009C4 */ 000009B6 0C40 1F38 cmpi.w D0, 0x1F38 000009BA 6708 beq +0xA /* 000009C4 */ 000009BC 7000 moveq.l D0, 0x00 000009BE 600E bra +0x10 /* 000009CE */ label000009C0: 000009C0 7001 moveq.l D0, 0x01 000009C2 600A bra +0xC /* 000009CE */ label000009C4: 000009C4 7002 moveq.l D0, 0x02 000009C6 6006 bra +0x8 /* 000009CE */ label000009C8: 000009C8 7003 moveq.l D0, 0x03 000009CA 6002 bra +0x4 /* 000009CE */ label000009CC: 000009CC 7000 moveq.l D0, 0x00 label000009CE: 000009CE 6000 FF00 bra -0xFE /* 000008D0 */ 000009D2 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF 000009D8 6E1C bgt +0x1E /* 000009F6 */ 000009DA 303C A89F move.w D0, 0xA89F 000009DE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 000009E0 2408 move.l D2, A0 000009E2 203C 0000 AB03 move.l D0, 0xAB03 000009E8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 000009EA 203C 0000 0100 move.l D0, 0x100 000009F0 B488 cmp.l D2, A0 000009F2 6606 bne +0x8 /* 000009FA */ 000009F4 600A bra +0xC /* 00000A00 */ label000009F6: 000009F6 7000 moveq.l D0, 0x00 000009F8 6006 bra +0x8 /* 00000A00 */ label000009FA: 000009FA 203C 0000 0200 move.l D0, 0x200 label00000A00: 00000A00 6000 FECE bra -0x130 /* 000008D0 */ 00000A04 1038 021E move.b D0, [0x0000021E /* KbdType */] 00000A08 41FA 0016 lea.l A0, [PC + 0x16 /* 00000A20, value 0x3130B02 */] 00000A0C 2248 movea.l A1, A0 label00000A0E: 00000A0E 1218 move.b D1, [A0]+ 00000A10 6700 FED2 beq -0x12C /* 000008E4 */ 00000A14 B200 cmp.b D1, D0 00000A16 66F6 bne -0x8 /* 00000A0E */ 00000A18 91C9 sub.l A0, A1 00000A1A 2008 move.l D0, A0 00000A1C 6000 FEB2 bra -0x14C /* 000008D0 */ 00000A20 0313 btst [A3], D1 00000A22 0B02 btst D2, D5 00000A24 0106 btst D6, D0 00000A26 0704 btst D4, D3 00000A28 0508 btst A0, D2 00000A2A 0900 btst D0, D4 00000A2C 7000 moveq.l D0, 0x00 00000A2E 4A38 0291 tst.b [0x00000291 /* PortBUse */] 00000A32 6B16 bmi +0x18 /* 00000A4A */ 00000A34 1238 01FB move.b D1, [0x000001FB /* SPConfig */] 00000A38 0201 000F andi.b D1, 0xF 00000A3C 0C01 0001 cmpi.b D1, 0x1 00000A40 6608 bne +0xA /* 00000A4A */ 00000A42 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */] 00000A46 1028 0007 move.b D0, [A0 + 0x7] label00000A4A: 00000A4A 6000 FE84 bra -0x17A /* 000008D0 */ 00000A4E 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2 00000A54 6D16 blt +0x18 /* 00000A6C */ 00000A56 7000 moveq.l D0, 0x00 00000A58 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */] 00000A5C 0C00 0001 cmpi.b D0, 0x1 00000A60 670C beq +0xE /* 00000A6E */ 00000A62 0C00 0003 cmpi.b D0, 0x3 00000A66 6D04 blt +0x6 /* 00000A6C */ 00000A68 5340 subq.w D0, 1 00000A6A 6002 bra +0x4 /* 00000A6E */ label00000A6C: 00000A6C 7000 moveq.l D0, 0x00 label00000A6E: 00000A6E 6000 FE60 bra -0x19E /* 000008D0 */ 00000A72 303C A89F move.w D0, 0xA89F 00000A76 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 00000A78 2408 move.l D2, A0 00000A7A 203C 0000 A88F move.l D0, 0xA88F 00000A80 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 00000A82 2038 0108 move.l D0, [0x00000108 /* MemTop */] 00000A86 B488 cmp.l D2, A0 00000A88 670A beq +0xC /* 00000A94 */ 00000A8A 598F subq.l A7, 4 00000A8C 3F3C 0016 move.w -[A7], 0x16 00000A90 A88F syscall OSDispatch 00000A92 201F move.l D0, [A7]+ label00000A94: 00000A94 6000 FE3A bra -0x1C4 /* 000008D0 */ fn00000A98: 00000A98 202F 0004 move.l D0, [A7 + 0x4] 00000A9C 2F40 0008 move.l [A7 + 0x8], D0 00000AA0 6726 beq +0x28 /* 00000AC8 */ 00000AA2 2040 movea.l A0, D0 00000AA4 2248 movea.l A1, A0 00000AA6 1019 move.b D0, [A1]+ 00000AA8 671E beq +0x20 /* 00000AC8 */ label00000AAA: 00000AAA 1211 move.b D1, [A1] 00000AAC 12C0 move.b [A1]+, D0 00000AAE 1001 move.b D0, D1 00000AB0 66F8 bne -0x6 /* 00000AAA */ 00000AB2 93C8 sub.l A1, A0 00000AB4 2009 move.l D0, A1 00000AB6 5340 subq.w D0, 1 00000AB8 0C80 0000 00FF cmpi.l D0, 0xFF 00000ABE 6F06 ble +0x8 /* 00000AC6 */ 00000AC0 203C 0000 00FF move.l D0, 0xFF label00000AC6: 00000AC6 1080 move.b [A0], D0 label00000AC8: 00000AC8 225F movea.l A1, [A7]+ 00000ACA 584F addq.w A7, 4 00000ACC 4ED1 jmp [A1] fn00000ACE: 00000ACE 225F movea.l A1, [A7]+ 00000AD0 201F move.l D0, [A7]+ 00000AD2 2E80 move.l [A7], D0 00000AD4 6712 beq +0x14 /* 00000AE8 */ 00000AD6 2040 movea.l A0, D0 00000AD8 7000 moveq.l D0, 0x00 00000ADA 1010 move.b D0, [A0] 00000ADC 6004 bra +0x6 /* 00000AE2 */ label00000ADE: 00000ADE 10E8 0001 move.b [A0]+, [A0 + 0x1] label00000AE2: 00000AE2 51C8 FFFA dbf D0, -0x8 /* 00000ADE */ 00000AE6 4210 clr.b [A0] label00000AE8: 00000AE8 4ED1 jmp [A1] 00000AEA 0000 020A ori.b D0, 0xA /* '\n' */ 00000AEE 0001 0000 ori.b D1, 0x0 00000AF2 0000 0014 ori.b D0, 0x14 00000AF6 0000 002E ori.b D0, 0x2E /* '.' */ 00000AFA 0000 0000 ori.b D0, 0x0 00000AFE 0003 80DB ori.b D3, 0xDB 00000B02 0153 bchg [A3], D0 00000B04 4820 nbcd.b -[A0] 00000B06 09FF .incomplete 00000B08 FFFF .invalid <> 00000B0A 06FF .incomplete 00000B0C FFFF .invalid <> 00000B0E 0E81 0207 FFFF .invalid.l D1, 0x207FFFF // invalid immediate operation 00000B14 FF12 .extension 0xF12 <> // unimplemented 00000B16 1000 move.b D0, D0 00000B18 7102 moveq.l D0, 0x02 00000B1A 0600 0000 addi.b D0, 0x0 00000B1E 0000 0AEE ori.b D0, 0xEE 00000B22 6D70 blt +0x72 /* 00000B94 */ 00000B24 7764 moveq.l D3, 0x64